package xiaohu.day0.HJ7;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextFloat()) { // 注意 while 处理多个 case
            Float N= in.nextFloat();
            int i= N.intValue();
            System.out.println(N+0.5>=i+1?i+1:i);
        }
    }
}
